// 收款信息
import { F } from '../utils/http'
const { GET, POST } = F('receivemoney/')

class ReceiveMoneyApi {
  constructor() {}
  search = (req) => GET('search', req)
  add = (req) => POST('add', req)
  update = (req) => POST('update', req)
  remove = (id) => GET('remove', { id })
  checkcontract = (req) => GET('searchcontract', req)
  find = (id) => GET('find', { id })
}
export default new ReceiveMoneyApi()
